From: Georges Basile Stavracas Neto Date: Thu, 6 Feb 2020 19:24:32 +0000 (-0300) Subject: loginDialog: Set null user when asking for username X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~777^2^2~77 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=848cc1bb199e6948b9fbf806d320a08835dcb418;p=gnome-shell.git loginDialog: Set null user when asking for username When going through the username + password login flow, set the username to 'null' to update the user avatar. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index b3e32a670..4a7bc5a4c 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -913,6 +913,7 @@ var LoginDialog = GObject.registerClass({ } _askForUsernameAndBeginVerification() { + this._authPrompt.setUser(null); this._authPrompt.setQuestion(_("Username: ")); this._showRealmLoginHint(this._realmManager.loginFormat);